package com.mingqijia.gassafety.authority.api.resp.operatelog;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 创建后的返回数据
 * @author Damon S.
 * @version v0.2
 * @date 2021-06-19
 */
@Data
@ApiModel(value = "操作日志信息数据")
public class OperatelogRespDTO implements Serializable {
    @ApiModelProperty(value = "日志编号")
    private Long logId;

    @ApiModelProperty(value = "持续时间")
    private Long duration;

    @ApiModelProperty(value = "操作")
    private String operation;

    @ApiModelProperty(value = "参数")
    private String params;

    @ApiModelProperty(value = "ip地址")
    private String ip;

    @ApiModelProperty(value = "访问的uri地址")
    private String uri;

    @ApiModelProperty(value = "用户")
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String username;

}